import request from "../utils/request";

//条件查询
export const queryLogisticsPrice = (page,pageSize,companyName,category) => {return request.get(`/logisticsprice?page=${page}&pageSize=${pageSize}&companyName=${companyName}&category=${category}`)};

//添加
export const addLogisticsPriceApi = (data) => {return request.post('/logisticsprice',data)};

//回显
export const queryLogisticsPriceById = (id) => {return request.get(`/logisticsprice/${id}`)};

//修改
export const updateLogisticsPrice = (data) => {return request.put('/logisticsprice',data)};

//删除
export const deleteLogisticsPrice = (id) => {return request.delete(`/logisticsprice/${id}`)};